<!DOCTYPE html>
<html lang="en">

<head>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>文件上传</title>

    <meta name="description" content="">
    <meta name="author" content="Hovace">

    <!-- Bootstrap core CSS -->
    <link rel="stylesheet" href="assets/css/bootstrap/bootstrap.css"/>

    <!-- blueimp Gallery styles -->
    <link rel="stylesheet" href="assets/css/blueimp-gallery.min.css">
    <!-- CSS to style the file input field as button and adjust the Bootstrap progress bars -->
    <link rel="stylesheet" href="assets/css/plugins/file-upload/jquery.fileupload.css">
    <link rel="stylesheet" href="assets/css/plugins/file-upload/jquery.fileupload-ui.css">
    <!-- CSS adjustments for browsers with JavaScript disabled -->
    <noscript>
        <link rel="stylesheet" href="assets/css/plugins/file-upload/jquery.fileupload-noscript.css">
    </noscript>
    <noscript>
        <link rel="stylesheet" href="assets/css/plugins/file-upload/jquery.fileupload-ui-noscript.css">
    </noscript>

    <!-- Fonts  -->
    <link href='assets/fonts/gooleapis.css' rel='stylesheet' type='text/css'>

    <!-- Base Styling  -->
    <link rel="stylesheet" href="assets/css/app/app.v1.css"/>

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="assets/js/h5/html5shiv.js"></script>
    <script src="assets/js/h5/respond.js"></script>
    <![endif]-->

</head>
<body>

<!-- Preloader -->
<div class="loading-container">
    <div class="loading">
        <div class="l1">
            <div></div>
        </div>
        <div class="l2">
            <div></div>
        </div>
        <div class="l3">
            <div></div>
        </div>
        <div class="l4">
            <div></div>
        </div>
    </div>
</div>
<!-- Preloader -->

<aside class="left-panel">

    <div class="user text-center">
        <a href="personal-center.html">
            <img src="assets/images/avtar/user.jpg" class="img-circle" alt="...">
            <h4 class="user-name">张飞</h4>
        </a>


    </div>


    <nav class="navigation">
        <ul class="list-unstyled">
            <li class="has-submenu"><a href="personal-record.html"><i class=" fa fa-user"></i> <span
                    class="nav-label">取证中心</span></a>

            </li>
            <li class="has-submenu active"><a href="file-upload.html"><i class=" glyphicon glyphicon-folder-close"></i> <span
                    class="nav-label">附件箱</span></a>
            </li>
            <li class="has-submenu"><a href="digital-locker.html"><i class=" fa fa-folder"></i> <span
                    class="nav-label">数字保险柜</span></a>

            </li>
        </ul>
    </nav>

</aside>

<section class="content">

    <header class="top-head container-fluid">
        <button type="button" class="navbar-toggle pull-left">
            <span class="sr-only"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
        </button>

        <div class="navbar-left  pull-left hidden-xs">
            <h3 style="margin: 0px;padding: 0px;line-height: 2;">文件上传</h3>
        </div>

    </header>
    <!-- Header Ends -->


    <div class="warper container-fluid">


        <form id="fileupload" action="" method="POST" enctype="multipart/form-data">

            <div class="panel panel-default">

                <div class="panel-body">

                    <!-- Redirect browsers with JavaScript disabled to the origin page -->
                    <noscript><input type="hidden" name="redirect"
                                     value="https://blueimp.github.io/jQuery-File-Upload/"></noscript>

                    <!-- The table listing the files available for upload/download -->
                    <table role="presentation" class="table table-striped">
                        <thead>
                        <th></th>
                        <th width="50%">名称</th>
                        <th>大小</th>
                        <th>进展</th>
                        <th>状态</th>
                        <th>操作</th>
                        </thead>
                        <tbody class="files">
                        </tbody>
                    </table>


                </div>
            </div>

            <div class="page-header"><h3>总体进度</h3></div>

            <div class="fileupload-progress">

                <div class="progress">
                    <div class="progress-bar progress-bar-info progress-bar-striped" role="progressbar"
                         aria-valuenow="20" aria-valuemin="0" aria-valuemax="100" style="width: 00%">
                        <span class="sr-only">20% Complete</span>
                    </div>
                </div>

            </div>

            <hr>

            <!-- The fileupload-buttonbar contains buttons to add/delete files and start/cancel the upload -->
            <div class="fileupload-buttonbar">
                <!-- The fileinput-button span is used to style the file input field as button -->
                    <span class="btn btn-success fileinput-button">
                        <i class="glyphicon glyphicon-plus"></i>
                        <span>添加文件</span>
                        <input type="file" name="files[]" multiple>
                    </span>
                <button type="submit" class="btn btn-primary start">
                    <i class="glyphicon glyphicon-upload"></i>
                    <span>开始上传</span>
                </button>
                <button type="reset" class="btn btn-warning cancel">
                    <i class="glyphicon glyphicon-ban-circle"></i>
                    <span>取消上传</span>
                </button>
                <button type="button" class="btn btn-danger delete">
                    <i class="glyphicon glyphicon-trash"></i>
                    <span>删除</span>
                </button>
                <!-- <input type="checkbox" class="toggle">-->
                <!-- The global file processing state -->
                <span class="fileupload-process"></span>

            </div>

        </form>


    </div>
    <!-- Warper Ends Here (working area) -->

    <footer class="container-fluid footer text-center">
        版权 &copy; 2016 <a href="http://www.bankeys.com.cn/" target="_blank">Bankeys</a>
        <a href="install.html" class="pull-left" ><i class=" glyphicon glyphicon-download-alt"></i> <span class="nav-label">下载控件</span></a>
        <a href="#" class="pull-right scrollToTop"><i class="fa fa-chevron-up"></i></a>
    </footer>

</section>
<!-- Content Block Ends Here (right box)-->


<!-- The blueimp Gallery widget -->
<div id="blueimp-gallery" class="blueimp-gallery blueimp-gallery-controls" data-filter=":even">
    <div class="slides"></div>
    <h3 class="title"></h3>
    <a class="prev">‹</a>
    <a class="next">›</a>
    <a class="close">×</a>
    <a class="play-pause"></a>
    <ol class="indicator"></ol>
</div>
<!-- The template to display files available for upload -->
<script id="template-upload" type="text/x-tmpl">
    {% for (var i=0, file; file=o.files[i]; i++) { %}
        <tr class="template-upload fade">
            <td>
                <span class="preview"></span>
            </td>
            <td>
                <p class="name">{%=file.name%}</p>
                <strong class="error text-danger"></strong>
            </td>
			<td>
                <p class="size">size...</p>
            </td>
			<td>
                
				
				<div class="progress progress-xs">
				  <div style="width: 0%" aria-valuemax="100" aria-valuemin="0" aria-valuenow="40" role="progressbar" class="progress-bar progress-bar-success"></div>
				</div>
            </td>

			<td>
                <p class="Status">Status</p>
            </td>
			
            <td>
                {% if (!i && !o.options.autoUpload) { %}
                    <button class="btn btn-primary btn-sm start" disabled>
                        <i class="glyphicon glyphicon-upload"></i>
                        <span>开始</span>
                    </button>

                {% } %}
                {% if (!i) { %}
                    <button class="btn btn-warning btn-sm cancel">
                        <i class="glyphicon glyphicon-ban-circle"></i>
                        <span>取消</span>
                    </button>

                {% } %}
            </td>
        </tr>
    {% } %}

</script>
<!-- The template to display files available for download -->
<script id="template-download" type="text/x-tmpl">
    {% for (var i=0, file; file=o.files[i]; i++) { %}
        <tr class="template-download fade">
            <td>
                <span class="preview">
                    {% if (file.thumbnailUrl) { %}
                        <a href="{%=file.url%}" title="{%=file.name%}" download="{%=file.name%}" data-gallery><img src="{%=file.thumbnailUrl%}"></a>
                    {% } %}
                </span>
            </td>
            <td>
                <p class="name">
                    {% if (file.url) { %}
                        <a href="{%=file.url%}" title="{%=file.name%}" download="{%=file.name%}" {%=file.thumbnailUrl?'data-gallery':''%}>{%=file.name%}</a>
                    {% } else { %}
                        <span>{%=file.name%}</span>
                    {% } %}
                </p>
                {% if (file.error) { %}
                    <div><span class="label label-danger">Error</span> {%=file.error%}</div>
                {% } %}
            </td>
            <td>
                <span class="size">{%=o.formatFileSize(file.size)%}</span>
            </td>
			<td>
                <div class="progress progress-xs">
				  <div style="width: 100%" aria-valuemax="100" aria-valuemin="0" aria-valuenow="40" role="progressbar" class="progress-bar progress-bar-success">
					<span class="sr-only">100% Complete (success)</span>
				  </div>
				</div>
            </td>
			<td>
                <span class="status">ok</span>
            </td>
            <td>
                {% if (file.deleteUrl) { %}


                    <button class="btn btn-danger delete btn-sm" data-type="{%=file.deleteType%}" data-url="{%=file.deleteUrl%}"{% if (file.deleteWithCredentials) { %} data-xhr-fields='{"withCredentials":true}'{% } %}>
                        <i class="glyphicon glyphicon-trash"></i>
                        <span>删除</span>
                    </button>

                {% } else { %}
                    <button type="submit" class="btn btn-primary start btn-sm">
                        <i class="glyphicon glyphicon-upload"></i>
                        <span>上传到附件箱</span>
                    </button>
                    <button class="btn btn-warning btn-sm cancel">
                        <i class="glyphicon glyphicon-ban-circle"></i>
                        <span>取消</span>

                    </button>

                {% } %}
            </td>
        </tr>
    {% } %}

</script>


<!-- JQuery v1.9.1 -->
<script src="assets/js/jquery/jquery-1.9.1.min.js" type="text/javascript"></script>
<script src="assets/js/plugins/underscore/underscore-min.js"></script>
<!-- Bootstrap -->
<script src="assets/js/bootstrap/bootstrap.min.js"></script>

<!-- NanoScroll -->
<script src="assets/js/plugins/nicescroll/jquery.nicescroll.min.js"></script>


<script src="assets/js/plugins/file-upload/vendor/jquery.ui.widget.js"></script>
<!-- The Templates plugin is included to render the upload/download listings -->
<script src="assets/js/tmpl.min.js"></script>
<!-- The Load Image plugin is included for the preview images and image resizing functionality -->
<script src="assets/js/load-image.all.min.js"></script>
<!-- The Canvas to Blob plugin is included for image resizing functionality -->
<script src="assets/js/canvas-to-blob.min.js"></script>
<!-- Bootstrap JS is not required, but included for the responsive demo navigation -->
<script src="assets/js/bootstrap.min.js"></script>
<!-- blueimp Gallery script -->
<script src="assets/js/jquery.blueimp-gallery.min.js"></script>
<!-- The Iframe Transport is required for browsers without support for XHR file uploads -->
<script src="assets/js/plugins/file-upload/jquery.iframe-transport.js"></script>
<!-- The basic File Upload plugin -->
<script src="assets/js/plugins/file-upload/jquery.fileupload.js"></script>
<!-- The File Upload processing plugin -->
<script src="assets/js/plugins/file-upload/jquery.fileupload-process.js"></script>
<!-- The File Upload image preview & resize plugin -->
<script src="assets/js/plugins/file-upload/jquery.fileupload-image.js"></script>
<!-- The File Upload audio preview plugin -->
<script src="assets/js/plugins/file-upload/jquery.fileupload-audio.js"></script>
<!-- The File Upload video preview plugin -->
<script src="assets/js/plugins/file-upload/jquery.fileupload-video.js"></script>
<!-- The File Upload validation plugin -->
<script src="assets/js/plugins/file-upload/jquery.fileupload-validate.js"></script>
<!-- The File Upload user interface plugin -->
<script src="assets/js/plugins/file-upload/jquery.fileupload-ui.js"></script>
<!-- The main application script -->
<script src="assets/js/plugins/file-upload/fileupload-conf.js"></script>
<!-- The XDomainRequest Transport is included for cross-domain file deletion for IE 8 and IE 9 -->
<!--[if (gte IE 8)&(lt IE 10)]>
<script src="assets/js/plugins/file-upload//cors/jquery.xdr-transport.js"></script>
<![endif]-->


<!-- Custom JQuery -->
<script src="assets/js/app/custom.js" type="text/javascript"></script>


</body>
</html>
